/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.base.model;

import com.yunhoo.sys.util.common.LoginParam;

/**
 *  客户/供应商 属性
 * @author Administrator
 */
public class Partner implements java.io.Serializable {

    private String id = "";//客户供应商编码
    private String name = "";//名字
    private String simplename = "";//简称
    private String legalPerson = "";//法人姓名
    private String address = "";//地址
    private String bank = "";//开户银行
    private String bankAccount = ""; //银行账号
    private String grade = "0";//级别
    private boolean isCheck = false;//是否审核
    private boolean check = false;//选中
    private String relationer = "";//联系人
    private String tele = "";//座机
    private String mobile = "";//手机
    private String fax = "";//传真
    private String email = "";//邮箱
    private String zipcode = "";//邮编
    private String pingnum = "";//纳税人识别号
    private int lineid = 0;
    private String payinfo = "";//客商付款条件
    private String orgCode = "";//组织机构代码
    
    public Partner(){
        orgCode = LoginParam.getOrg().getCode();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPingnum() {
        return pingnum;
    }

    public void setPingnum(String pingnum) {
        this.pingnum = pingnum;
    }

    public String getRelationer() {
        return relationer;
    }

    public void setRelationer(String relationer) {
        this.relationer = relationer;
    }

    public boolean isIsCheck() {
        return isCheck;
    }

    public void setIsCheck(boolean isCheck) {
        this.isCheck = isCheck;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public int getLineid() {
        return lineid;
    }

    public void setLineid(int lineid) {
        this.lineid = lineid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSimplename() {
        return simplename;
    }

    public void setSimplename(String simplename) {
        this.simplename = simplename;
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }

    public String getPayinfo() {
        return payinfo;
    }

    public void setPayinfo(String payinfo) {
        this.payinfo = payinfo;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getTele() {
        return tele;
    }

    public void setTele(String tele) {
        this.tele = tele;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
}
